package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.model.Question;

import java.util.List;

@Mapper
public interface QuestionMapper extends BaseMapper<Question> {
    // 根据问卷ID查询所有问题
    List<Question> findByQuestionnaireId(Long questionnaireId);
} 